package com.ec.file.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * 上传成功后返回原文件名&访问路径
 *
 * @author Eric Lee
 * @since 2022-08-01 00:21
 */
@Data
public class UploadResultVO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 上传的文件名
     */
    private String fileName;
    /**
     * 访问的路径
     */
    private String url;

    public UploadResultVO(String fileName, String url) {
        this.fileName = fileName;
        this.url = url;
    }
}
